<html>
<body>
<div id="header">
<p style="font-family: Times New Roman, serif; font-size: 45pt; padding-top: 17px;">
Showing User Settings
</p>
</div>
<div id="main">
<p id="notice"><%= notice %></p>
<!--
<p>
  <b>Box Manager:</b>
  <%= @user_setting.boxmanager_id %>
</p>

<p>
  <b>Load Box:</b>
  <%= @user_setting.loadbox_id %>
</p>

<p>
  <b>Algorithm:</b>
  <%= @user_setting.algorithm_id %>
</p>
-->
<p>
  <b>Consumption Preference:</b>
  <%=   if @user_setting.consumption_preference ==1
			%{Minimum Consumption   }
		elsif @user_setting.consumption_preference ==2
			%{Low Consumption  }
		elsif @user_setting.consumption_preference ==3
			%{Moderate Consumption  }
		elsif @user_setting.consumption_preference ==4
			%{High Consumption  }
		elsif @user_setting.consumption_preference ==5
			%{Full Consumption   }
		end %>
</p>
</div>
<div id="footer">

<%= link_to 'Edit', edit_user_setting_path(@user_setting) %> |
<%= link_to 'Back', dashboard_path %>
</div>

</body>
</html>
